package com.itheima.继承.test01;
//创建父类
public class Person {
    //成员变量
    private String name;
    private int age;
    private String birthday;

    public Person() {
    }

    public Person(String name, int age, String birthday) {
        this.name = name;
        this.age = age;
        this.birthday = birthday;
    }

    public String getNaem() {
        return name;
    }

    public void setNaem(String naem) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }


}
